<?php

use yii\helpers\Html;
use yii\helpers\Url;
use yii\grid\GridView;
use yii\widgets\DetailView;
use yii\widgets\Pjax;
use dmstr\bootstrap\Tabs;

/**
* @var yii\web\View $this
* @var yiike\finance\models\TokerWithdraw $model
*/
$copyParams = $model->attributes;

$this->title = Yii::t('models', '提现');
$this->params['breadcrumbs'][] = ['label' => Yii::t('models', '提现'), 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => (string)$model->id, 'url' => ['view', 'id' => $model->id]];
$this->params['breadcrumbs'][] = 'View';
?>
<!-- flash message -->
<?php if (\Yii::$app->session->getFlash('deleteError') !== null) : ?>
        <span class="alert alert-info alert-dismissible" role="alert">
            <button type="button" class="close" data-dismiss="alert" aria-label="Close">
            <span aria-hidden="true">&times;</span></button>
            <?= \Yii::$app->session->getFlash('deleteError') ?>
        </span>
    <?php endif; ?>
<div class="box box-info giiant-crud toker-withdraw-view">
    <div class="box-header with-border">
        <div class="box-title">
            <?= $this->title ?>        </div>
    </div>

    <div class="box-body">

        <?php $this->beginBlock('yiike\finance\models\TokerWithdraw'); ?>

        
        <?= DetailView::widget([
        'model' => $model,
        'attributes' => [
                'weid',
        'uid',
        'toker_id',
        'money',
        'unlock_rate',
        'unlock_money',
        'real_pay',
        'status',
        'created_at',
        'check_at',
        'check_by',
        'type',
        'is_pay',
        'pay_at',
        'pay_by',
        'memo:ntext',
        'pay_sn',
        'wx_openid',
        'alipay',
        'bank',
        'payee',
        'bank_account',
        ],
        ]); ?>


        <?php $this->endBlock(); ?>


        
        <?= Tabs::widget(
                     [
                         'id' => 'relation-tabs',
                         'encodeLabels' => false,
                         'items' => [
     [
        'label'   => '<b class=""># '.Html::encode($model->id).'</b>',
        'content' => $this->blocks['yiike\finance\models\TokerWithdraw'],
        'active'  => true,
    ],
 ]
                     ]
        );
        ?>    </div>
</div>
